package com.zan.pattern.iterator;

/**
 * @Author Zan
 * @Create 2024/4/27 16:40
 * @Description : 抽象聚合角色
 * @ClassName: StudentAggregate
 */
public interface StudentAggregate {

    // 添加学生功能
    void addStudent(Student student);

    // 删除学生功能
    void removeStudent(Student student);

    // 获取迭代器对象功能
    StudentIterator getStudentIterator();
}
